login, register, logout moved to userController
added captcha and error messages