User login updates and small bug fixes.
Bug fix to concurrent user handlers and shutdown hook fix.