added login / logout and related views