jshinted js controllers
some more beautifying
fixed press enter to login