Added login to user database

Now links from Account database to user database