completed flask skeleton with basic auth module and template