Add login view and support for session