Functioning login.