add login support to user controller