use angular to get/post sessions informations