Fix database specs and add User database.
Some progress on user login.