Added new user function and idle timeout.