Better handling of logging out.
Updated Development Status
Comments

Adding comments to functions.