added apps controller methods and app views
 routes