added basic admin and user functionality