Adding credential generation