Better use of sessions and cors, dropped unused connect-flash stuff
Now deleting session on logout
Removed noisy logging