Giant update that added lots of new piece

Added backend logic for signup, login, logout, and welcome pages.
Moved some materials to a separate utils.py file.  Updated previous
classes/functions.