Add, check if the user is logged in