Flask example with login and roles