Fix: fixes #2 and added autologin. (session.login not required anymore.)