Feature/code based auth