add rest interface for user (get list and post)