Login method changed to POST