checking if user signed in