stats functions pull last login from mongo