authenticate now working hopefully