minor changes to user controller