Added correct authenticate method