done fixing take test bug, can already store score in database, modified authentication controller and login view(added some error message)