Fixed basic login method. Not secure, but functioning properly.