Login Update. Fix conflict with resourceTemplate
- override getRoutes method for login, so posted data can be mapped to different method
- refactored code to remove unnecessary method