user registration route is working, refactored loo controller and index view