Rewrite tests for user and admin signed in