created views, added post tests and model