added choosing roles on user side