modified users controller