../profile now redirects to login form if the client isn't logged in