user login and login implementation 8/18/14