Random fixes

Login/logout on index etc.