added users db stuff and password hashing