add package
fix login working and more modular
add test example