add api login + register