Redirect to to login page, then back to requested page

Hi,

Congrats on a great plugin, the best I've seen by far.

When I browse to a protected page, I need to have the user redirected to the wordpress login page, and upon successful login redirect back to the page they were trying to view - how can this be achieved?

Thanks