Fixed an error with users controller