Connect profile and login, unify database