main python file

user login and key_name issue settled.
security not up.
not jinja-ed.
no design.