fixing registration and adding roles