Added preliminary login functionality (work in progress).