controllers for posts with database; incomplete - show not working correctly