disable register functino in dashboard