added model and started work on POST method