Helper methods in ApplicationController which finds current client.
ClientSession controller to keep the session of current client.
Changed validations and accessible attributes in client model.
Client session model.
Added 'acts_as_authentic' to 'cpa' model.
View for client's log in.
Changed form for registering the client.
Changed 'index' view for clients.
Changed 'show' view for client.
Changed 'index' view for document.
Added menu links to application's view.
New routes to client's session.
Added some CSS for menu links.
Migration which adds 'persistance_token' to cpa and client.
Gemfile with 'authlogic' gem.