fixes auth, ports editor over to our application