Login / Logout functionality is completed. Also fixed a bug where the overlay would generate an element every time it was created.