update the dataBase function

Add RegisterUserToNewEvent function
Edit EventProfile table in  DB