Obama slams Trump for his use of Twitter