redirect user to settings page if going to edit password but is already logged in