Created logout
Made it maximized by setting the extendedState of the JFrame