Save login data when login succeed