add method to extract info after login