CSS modification and code revision

delete all the unused css and add the bootstrap css.
create login handler
fix the data query consistency