Added the register form class. Now the register form from the interface
works and displays errors accordingly.