Added a helper method for detecting signed in user