# Log in and log out help

**URL:** <https://www.ruby-forum.com/t/log-in-and-log-out-help/164428>\
**Category:** Rails\
**Created:** [April 1, 2009, 10:44am UTC](https://www.ruby-forum.com/t/log-in-and-log-out-help/164428 "2009-04-01T10:44:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vimal1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/a5b964/32.png) [@vimal1](https://www.ruby-forum.com/u/vimal1)\
**Post date:** [April 1, 2009, 10:44am UTC](https://www.ruby-forum.com/t/log-in-and-log-out-help/164428/1 "2009-04-01T10:44:06Z")

</div>

Hey, i was wondering if anyone could tell me how to do a login and  
logout page for a rails application?

thanks

---

<div class="post-metadata">

**Author:** ![vimal1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/a5b964/32.png) [@vimal1](https://www.ruby-forum.com/u/vimal1)\
**Post date:** [April 1, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/log-in-and-log-out-help/164428/2 "2009-04-01T12:09:56Z")

</div>

On 1 Apr 2009, at 09:44, Vimal Tailor wrote:

> Hey, i was wondering if anyone could tell me how to do a login and  
> logout page for a rails application?

There are plugins that will help with this. You probably want to take  
a look at something like restful authentication  
([http://wiki.github.com/technoweenie/restful-authentication](http://wiki.github.com/technoweenie/restful-authentication)  
) - this will provide the basic stuff you need to get started.  
Authlogic ([http://wiki.github.com/binarylogic/authlogic](http://wiki.github.com/binarylogic/authlogic)) is apparently  
pretty good too.

–  
Matt
