Added class for handling request - login and register method partially implemented. Implementation based on the API model.