add more functions to user controller