Regular update

Login bug fixed. Move data getter after the page load. Fix several null
pointer bug