authentication sorted out