Fixed error with missing parameters.
Fixed use of data from login service.