Adding route to retrieve and application by its id.