added show method in model and edited show template