fix login redirect, add master view with logout function[fix #48238383]