added more utils, condensed Login.java

also some small fixes