fix newrelic setup
add locked_by_login field
expire and destroy sessions
fix missing id