fixed nhl json handling

added login page