Add login and logout view