Version 1.1 implementation of user login