Added Logout Function to MainScreen.
Added the GUI for Record Creation