Adds method to check if current user is authenticated