Small bugfixes + addons for login