created a controller for users
lots of edits headed in the right direction