Fix sessions, enable avatar upload and edit etc.

Added profile page, added service page, fix cookies and sessions. Major
improvements, overall fixes.