Implemented create function on auth page