Generalized user module providing user authentication and user/user attribute lookup