Completed login and register controller and their tests
removed service.class and moved input validation to RegisterRequest.java