added auth system