Created start function in app controller