added users controller and tests (issue #1)