Support login, add and edit animal