Added prompt if user not logged in