functional test for api test
Merge pull request #13 from twairball/login

functional test for api test