Formatting, handle empty strings properly
Send user ID to client too
Bugfix - now sends user data on login
Cleanup and fixes
Made a start on user details/password update