implemented basic crud for user