Fixed loginview appeares while logged in as admin