Adding validators to registration page (issue #5), removing unneeded dependency