HTTP POST login logic implemented and tested successfully.