Did a lot of work today, took a while to figure a lot of this stuff out. As it stands, the system starts with a login screen, accepting a username and password (no validation required atm). On login, the user is brought to the main screen, which contains so far contains a simple titel, a logout button and the chat box. The size of the chat box is rather small at the moment, but it displays messages. I have put a few sample messages in it just to demonstrate the functionality, but obviously we'll have to create a way to add and receive messages.