Added redirect from account page if logged out