ISSUE #27   - Added ability to authenticate users
	    - Improved error handling in most parts of the code