* login logic implemented basically