login body updated to be sent in an object for correct structure