By an act approved January 3, 1838 (Acts 1838, p. 2), the company was authorized to negotiate such loans as might be deemed necessary upon its bonds and other obligations, secured by mortgage, to enable it to complete a new track and improve its harbor.