add feature for ensuring that a user is signed in