add login bussines login
bug fix
Merge pull request #50 from STerao/login_bussiness_logic

Login bussiness logic