user info being stored in database but repeatedly