Added login form.
Add login session.
Add client-side authentication.