input login functionality

Needs to be altered in order to work fully, but basic functionality has
been added.