Added DB stuff to Login. Need to add register checkbox.