improved in login form model
refactored Module class
fix