use post method to connect to students