added methods in controllers + views