Added new web services, added logout, and fixed bugs