Implemented automatic fetching on login