changed authentication to username