fix margin style
change login page style
move common function to a singleton class, fix bug: not all entities show in tweet, other style change...