Created get athentication url method. Closes #1