LoginBean used for logging in. RESTful service will use "REST/login" for path