finished users page view
changed logic for creating and updating users