fix min version number limitation
add login feature
fix functional test