Implement a simple registration controller
Update more for registration
Fix login and register