this is my contribution on ion auth