Refactor existing login/register api calls, prepare to add more