Created a global variable util for easy access. Now using util for genereating id names.
Implemented security.
Fixed issues with security
Improved error codes
Fixed issue with login
Fixed logging issue
Removed useless code
Fixed imageuploading
Merge branch 'dev-server' of github.com:Farenheight/Lidkoping-SH into dev-server

Conflicts:
	api/post_order.php