Trying authentication routine