Working : login, register api