Database Interactions

Added properly working user authentication, creating of new
user(non-admin)