added admin account to the database and redirects account to admin page on login