posting and getting
separate views for get and post