Added a logged-in method to auth
fixed bug related to url parsing
added helper functions to misc for alphanumeric and numeric
Added logic to insert method of mysql to return the auto-inc ID on tables when using on duplicate key update