Fixed login for admin. Now checks in the db.