- Complete authen module with basic functionality