Fixed problem with registration page