Add success function to API
Rename login panel and add char panel