improve login function
refactoring login function
add .travis.yml
add spec
Merge branch 'develop'