Bug: fixed authentication problem; username is now email