Add methods to remove expired sessions and add login session for specified user.