refactoring handlers. pkg specific handlers
username regexp checking
initial install