added query to get user by nickname

/api/user