adding sign in and sign out button listeners