Login/Logout Nullpointer behoben.