add editApp method
add route to edit an app given its id