add new loginactivity
add new activity and fix some bugs