added insertUser, getSalt and login to Database
rearranged shared packages