Checking if user has login