Added shutdown hook to free db connections. Admin user can view all processes