userId changed to userLogin in all URLs and logic