added auth generator