changes the call to login user to use post istead to line up with injection pattern