add logout and center form