modified register to be sign up in views and controllers