User login works with db, change password functionality added