Initial code with login GUI and JavaDocs