added multi account functionality and error checking
finishing portfolio account update