simplify ways to detect cookie
add mongo user and password settings for api server
Merge pull request #33 from blurrcat/mongo-setting

add mongo user and password settings for api server
Merge pull request #32 from wangsha/pullrequests/cookie-fix

simplify ways to detect cookie
added avatar to /me
Merge pull request #34 from tryagainconcepts/pullrequests/avatar

added avatar to /me
BAC-31
minor style update
Merge pull request #35 from tryagainconcepts/pullrequests/cookie-safari-fix

BAC-31