Add auto open view after login