Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you.

Read more at the source