# Authentication problam

**URL:** <https://www.ruby-forum.com/t/authentication-problam/173230>\
**Category:** Rails\
**Created:** [August 5, 2009, 10:36am UTC](https://www.ruby-forum.com/t/authentication-problam/173230 "2009-08-05T10:36:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajendra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@rajendra](https://www.ruby-forum.com/u/rajendra)\
**Post date:** [August 5, 2009, 10:36am UTC](https://www.ruby-forum.com/t/authentication-problam/173230/1 "2009-08-05T10:36:48Z")

</div>

i am using restful authentication plug-in in my rails application, it  
working fine for creating user and login, i want to add other  
functionality like adding sub user to the main users, and i need some  
other exra fields for the subuser. but when i tries to create subusers,  
it is created but it has the same functionality like the main user.

where could i change the code to create a subuser with required  
privileges and roles.

what are the changes we need to do in the controllers and restful  
authentication plug-in.
