auto detect database (development, production)
split module into login, profile, tz,..
implement api: /profile, /friend, /mutualfriend