change routes for handling app and frontpage