if session is open i designate root view controller tabbar and if no session in this time - rootview controller is loginController