Fixed user rights bug

Normal users can't use the app.
This fix is only a quick fix - we should change TR_USERROLE_GUEST to a number 2^n != 0