fix db model, add login
Merge branch 'master' of https://github.com/joehzli/fbhackathon