success login and view after login