Pin auth working