pretty-fied bug_sync
connect login now in models file