Add login/logout functionality. Enforce login requirements for user area pages.