Created temporary database and implemented registration controller