change login layout
added login check
major changes on class design