Set up page /edit to require admin login and made python file where request handler will go