Retain user info in mysql