Added changes made by Game-Insight
Added common authentication method to the server process