Change authentication to use a flask blueprint
Cleanup