Create Updated Main

I updated the main to fix the issue I was having with recognizing group tags, hash tags, and user tags. It now recognizes them. I also added some generic login/register/logout stuff. This is all I have so far.