Added profile view and test for AJAX request
Added login cookie handling
Added document to WCDLogin
Deleted xcuserstate