basic authentication working, user model created, and bug fixes