when ask check if user is authenticated