[Fix] switch to call login in slim framework with POST