removes from session old logins.
fixed the path for the socket library.