worked login /logout formatting a bit