How to make webpage?

mmmm..
see this page there is Role Based Access Control Plugin and more
http://wiki.rubyonrails.com/rails/pages/Authentication