Checking if login is provided