changed login view controller to accept object id