v0.2 - added login, refactor files, other minor changes