Redirect customer from page X to Y if logged in

Hi,

I've seen a similar question on these forums, but not quite what I'm looking for. And I don't know enough about php to fiddle around with it to get exactly what I want.

I'm looking for a solution to redirect already logged in users, customers to my woocommerce site specifically, from page X to Y. So not when logging in but when they are already logged in.

The homepage of my site is URL/login but I don't want already logged in users to be able to visit this page but I want them to be sent from URL.com or URL/login to URL/account.
Perhaps even URL/wp-admin, because customers will then go to URL/account and admins will go to the Wordpress dashboard.

Hope somebody can help me with this.