Added UserRepository and EventRepository to seperate the logic. Implemented UserProviderInterface to the UserRepository class to make sure that the redistered user can login via username or email. Write a custom method in the UserRepository class for this purpose too. Updated the database schema as well.