Refactored HelperFunctions.py

* removed unsed import of glob
* init_db() now populates the database
* insertSession() now takes session_types.id as the first argument
* implemented userJoinSession()
* removed loginUser() because it's out of scope for this prototype
* createUser() no longer takes passord argument