Changed the RegistrationServlet for fixing redirect issue (still working
on it)