meta-files additions
rewrote for flask-login and flask-classy