Login and logout framework in place