Started with the admin panel, added code to the login panel

Added functions to close the program and logout. Added buttons to the
newly made admin panel.