Implementation of login REST URL