First version of user login system