Setting up login for authentications.