login -> session starter | |- verify uid and pass | +- get username and store unencrypted | +- get name and store (mysql query) | |- if account verified -> account page | +- admin |- show buttons | +- Edit News | | |- Post News | | | |- get username and POST with news | | | |- get email from mySQL query with username (encrypted) | | | | | +- Delete Last Post | | |- get username and last post by date | | | +- Modify Projects | |- Add a Project | | +- get username and POST with news | | +- get email from mySQL query with username (encrypted) | Todo: make the news getting code only sort by what is in the news table. make the news table have the username, email, posted, avatar, and have the news posting code insert the username, email, avatar, body, title, posted, etc. into the table by getting the username through the session data.