Login works and redirects to members only area, and if not logged in, redirects to an error page