Rewrote user views to accept testing login/logout requests