Node module for user authorization